home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 3325 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: geraldo.cc.utexas.edu!usenet
  2. From: Rob Browning <osiris@cs.utexas.edu>
  3. Newsgroups: comp.dcom.modems
  4. Subject: USR 28.8 *not* disconnecting when connection lost.
  5. Date: 30 Jan 1996 11:24:43 -0600
  6. Organization: The University of Texas at Austin
  7. Sender: osiris@janus.csres.utexas.edu
  8. Message-ID: <86ivhtvbms.fsf@janus.csres.utexas.edu>
  9. NNTP-Posting-Host: janus.csres.utexas.edu
  10. X-Newsreader: September Gnus v0.32/Emacs 19.29
  11.  
  12.  
  13.  
  14. I've had a problem with my modem, ppp, and detecting disconnections
  15. for quite some time now, and I have been completely unable to resolve
  16. the problem.  I thought I'd bring it up now in case anyone had fresh
  17. ideas.  Feel free to direct me to a more appropriate location if
  18. warranted.  It's a linux system.
  19.  
  20. Basically the problem is that I can run pppd to connect to my ISP with
  21. no problems, but then pppd will never die, even if the connection to
  22. the other machine is lost.  I can pick up the line and hear a dial
  23. tone, but pppd will still think it's connected.  I assume it's some
  24. kind of handshaking problem, but I could have sworn I had all that set
  25. right.
  26.  
  27. I have a USR 28.8 Sportster Internal (I've checked the ROM revision
  28. date), and I'm using it to connect via ppp.  My ppp-options are as
  29. follows:
  30.  
  31. connect /etc/ppp/ppp-connect
  32. /dev/cua0
  33. 38400
  34. crtscts
  35. modem
  36. defaultroute   
  37.  
  38. I've experimented with a number of modem string settings, and none of
  39. them seem to help.  Right now I'm just using the ones that the USR
  40. manual recommends for hardware handshaking, augmented by the USR tip
  41. from the Linux Serial-HOWTO.  My ppp-connect script (aside from
  42. variable assignments) is as follows:
  43.  
  44. #! /bin/sh
  45. /usr/sbin/chat ABORT BUSY ABORT 'NO CARRIER' \
  46.   ''   'ATZ' \
  47.   'OK' 'AT&F1' \
  48.   'OK' 'AT&H1' \
  49.   'OK' 'AT&R2' \
  50.   'OK' 'AT&B1' \
  51.   'OK' 'AT&D2' \
  52.   'OK' 'ATS13=1' \
  53.   'OK' 'ATM1L3' \
  54.   'OK' 'ATX4' \
  55.   'OK' "ATDT$phone" \
  56.   CONNECT '' \
  57.   name: $login \
  58.   word: "$password" \
  59.   '>' 'ppp default'             
  60.  
  61. These commands are used to initialize the port at boot time:
  62.  
  63. STD_FLAGS="session_lockout"
  64. SETSERIAL=/bin/setserial 
  65. ${SETSERIAL} -b  /dev/cua0 uart 16550A port 0x3F8 irq 2 spd_vhi ${STD_FLAGS}
  66.  
  67. and these (are they necessary?) hopefully finish setting up the port.
  68.  
  69. /bin/stty -ixon -ixoff -clocal crtscts < /dev/cua0
  70.  
  71. Thanks for any help.
  72. --
  73. Rob
  74.